home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
graphics
/
font2pov.arj
/
FS.DOC
< prev
next >
Wrap
Text File
|
1993-09-14
|
12KB
|
321 lines
Manual for Fonts to Shapes (FS)
A font conversion program for MS-Windows 3.x
Version 1.1r1
July 1993
Copyright (c) 1993 Mark E. Peterson
All rights reserved.
Epitaph BBS: 507-947-3174
VirtualNet: 1@1507005
GEnie: M.PETERSON12
CIS: 72147,2174
Internet: M.PETERSON12@GEnie.Geis.Com
72147.2174@Compuserve.Com
US Mail: Rt 2 PO Box 135
Lake Crystal, MN 56055
Description =======================================================
FS is a font conversion program. Specifically, it converts MS-Windows fonts
into a format compatible with the Persistence of Vision (POV) ray tracing
program. FS allows you virtually eliminate the drudgery of creating text
in your POV scenes.
Other graphics to POV conversion programs typically convert each graphic
pixel to a cube. In contrast, FS uses a sophisticated shape analysis
algorithm to minimize the number of geometric shapes required to make up
a character. This provides two benefits, less time required to trace the
character and it also makes the characters infinitely scalable.
In addition to accurate character conversion, FS supports special effects.
You can use FS to create characters made of spheres, blobs, or cylinders.
FS is a versatile tool that will make an excellent addition to your ray
tracing toolbox.
Limited License ===================================================
This software is made available under the shareware concept. If you
continue to find it of use after the 30 day trial period, you are required
to register it or your license to use it will expire.
See order.doc in this archive for registration details. After
registration, your copy is no longer shareware. Please distribute the
shareware version of FS to any friends or online services you may desire.
Disclaimer ========================================================
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
BY USING THIS SOFTWARE YOU AGREE NOT TO HOLD THE AUTHOR OR ANY OF HIS
AFFILIATES OR OTHER RELATED PARTIES LIABLE FOR ANY DAMAGES CAUSED DIRECTLY
OR INDIRECTLY THROUGH USE OR INABILITY TO USE THIS PRODUCT. THIS APPLIES
EVEN IF I HAVE BEEN WARNED OF SUCH DAMAGES IN ADVANCE.
THIS AGREEMENT IS GOVERNED BY THE LAWS OF THE STATE OF MINNESOTA.
Trademarks/Copyrights =============================================
MS-DOS and Microsoft Windows are trademarks of Microsoft Corp.
POV and Persistence of Vision are property of the POV-Team.
Installation ======================================================
Upgrade note: If you are a registered FS user and are upgrading, all you
need replace in your existing installation are FS.EXE and BWCC.DLL.
Replacing all the files will require you to reenter your registration
number.
The archive you received should contain the following files:
F2PVCFGW.DAT - FS configuration file.
FS.EXE - FS executable.
BWCC.DLL - FS controls library.
FS.DOC - This document.
GLOBPALT.DAT - Logo palette
FSLOGO.MEP - FS Logo
ORDER.DOC - Instructions on how to register this product.
FILE_ID.DIZ - BBS long description file
DESC.SDI - BBS short description file
To install FS, merely copy/unzip the files into a convenient subdirectory
on your hard disk. All files, except the .doc files, MUST be in the same
directory for the program to function properly.
To install FS in the Windows Program Manager use the Program->New menu
items as usual. Note, be sure the working directory for FS in Windows 3.1
is the same as the directory path for the executable.
Note: If you are running under Win-OS2 (Windows under OS/2). Add the switch
-OS2 to the command line. FS will NOT run under Win-OS2 without it.
FS Main Menu ======================================================
Below is the menu structure for FS:
Font
───┐
│
┌───┴───────────┐
│ Text Alt-T │
│ Select Alt-S │
│ Texture Alt-E │
│ Convert Alt-C │
├───────────────┤
│ Exit Alt-X │
├───────────────┤
│ About │
│ Register │
└───────────────┘
Menu Item Accelerator
---------- -----------
Font->Text Alt-T
Selecting this menu item will present you with a dialog box in which you may
type a string of characters to convert. Also within this dialog the 'All
Chars' button allows you to quickly specify the complete character set,
codes 33 to 255.
When entering the string to convert you need not worry about entering
duplicates, FS only processes the unique characters in each string.
Once you have entered a string of characters, these characters are displayed
in the currently selected font in the main window.
Menu Item Accelerator
---------- -----------
Font->Select Alt-S
This selection allows you to specify the font to be used for the conversion.
Selecting this item brings up a font selection dialog box. Highlighting
different fonts in this dialog causes the font to change in the main window.
To select a given font for conversion either double click on the font name
or highlight it and click the OK button.
Menu Item Accelerator
---------- -----------
Font->Texture Alt-E
This item allows you to specify the texture block to be used with the
selected font. Selecting this item starts the notepad application with a
file name based on the selected font. For example, if you have selected
the font 'courier', notepad will be opened with the file name 'courier.ptx'.
Don't alter the file name within notepad, FS will not be able to find the
texture file if the name is altered.
Within notepad enter the texture block as you would in any POV file, e.g.
texture
{
Chrome_Texture
color Red
}
If you do not specify a texture for the selected font, the following
texture block will be used:
texture
{
color White
}
Menu Item Accelerator
---------- -----------
Font->Convert Alt-C
This selection initiates the conversion process with the text and font
specified under the first two menu items. The following dialog allows you
to specify the type of conversion you wish to perform.
┌─────────────────────────────────┐
│ │
│ [X] Accurate [ ] Blobs │
│ [ ] Spheres [ ] Cylinders │
│ │
│ [ 1.00 ] Shape Depth │
│ [ 0.00 ] Shape Overlap │
│ [ 1.00 ] Blob Strength │
│ [ 0.60 ] Blob Threshold │
│ │
│ (OK) (Cancel) │
│ │
└─────────────────────────────────┘
Specifying accurate tells FS to produce POV source that will reproduce the
Windows font as closely as possible. Selecting Blobs, Spheres or Cylinders
will produce characters made up of different size Blobs, Spheres or
Cylinders.
Shape depth applies only to accurate and cylinder conversions, it is the
depth of the character along the Z axis.
Shape overlap is used on all conversions except accurate. Overlap specifies
the percentage that each adjacent shape should overlap, this number may be
negative to force shapes apart rather than together.
The last two entries apply only to blobs. Blob strength is the first
number on each blob component. (See POV docs.) Blob threshold is the
POV blob threshold (See POV docs.)
Menu Item Accelerator
---------- -----------
Font->Exit Alt-X
Exit FS.
Menu Item Accelerator
---------- -----------
Font->About None
Selecting this item displays the copyright and registration info for your
copy of FS. The about dialog also displays a logo created with FS and POV.
Menu Item Accelerator
---------- -----------
Font->Register None
This menu item is only used when you have registered your copy of FS and
have obtained a registration number. After you have your registration
number, select this menu item and type the number into the dialog box.
Your customer ID will now be shown in the about dialog in place of the text
'Unregistered', also, FS will produce POV files for 'R', 'E', and 'G'. (See
application notes.)
Application Notes =================================================
Font objects generated under Win-OS2 will be smaller in size than those
generated under straight Windows.
Unregistered versions of the software will not produce valid POV files for
the letters 'R', 'E', and 'G' in upper or lower case.
Conversions other than accurate work well with some fonts and not so well
with others, it is best to experiment with one or two characters before
converting an entire string.
Each converted character is placed in a seperate POV source file. Also
the shape is centered at <0 0 0> so that it may be easily rotated.
Characters are generated 'facing' the Z axis, e.g. the face of the
character can be viewed by looking at <0 0 0> from a point on the + or -
Z axis.
Font files are named with the first five characters of the font name
followed by _case,character or character code. A courier '!' would be placed
in couri033.pov while an acclamation 'A' would be placed in accla_UA.pov (UA
for upper case A)
Each character is declared in POV source form as an object. The name of the
object is the [Name of the font]_Char_[Character or Character Code]. Using
the courier example above the '!' would have an object name of
Courier_Char_33 and the 'A' would have the name Courier_Char_A.
During a lengthy conversion process, you may minimize FS and do other
things. The conversion process will continue in the background.
Fonts that contain thin filaments, tend to lose detail rather quickly when
scaled with POV. For example, the Windows script font when reduced slightly
or moved to a distant location tends to disappear completely. If your
objective is to produce small characters in a scene, find a fat font.
Tip: To select individual 'high bit' characters (codes 128 to 255) for
conversion, use the character map applet that comes with Windows 3.1.
Heres how:
1. Open the character map applet (normally found in the accessories group)
2. Select the character you desire and copy it.
3. Open the FS select text dialog and press shift-Ins. (The character
may appear differently than you expect in the edit box.)
4. Close the dialog with 'Ok', the character you desire should appear
in the main window.
Appendix A - Accelerator Table
------------------------------
This table contains a summary of all of the FS shortcut keys and what
they do.
Alt-T - Activate the 'text to convert' dialog.
Alt-S - Activate the 'select font' dialog.
Alt-E - Activate the notepad application to enter a texture block.
Alt-C - Start the conversion process.
Alt-F - Font main menu item.
Alt-X - Exit FS.
Alt-- - Main window control box.
Alt-= - Memory statistics (Used for debugging.)
Alt-F4 - Exit FS.
Alt-F6 - Change window focus.
Ctrl-F4 - Kill the current window.